﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Sign.aspx.cs" Inherits="PPAP.Web.Logistic.Sign" %>

<%@ Register assembly="PPAP.WebControls" namespace="PPAP.WebControls" tagprefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head >
    <title></title>
    <script type="text/javascript">

        function check() {
            var txtDATE = document.getElementById("txtDATE");
            var txtQuantity = document.getElementById("txtQuantity");
            if (txtDATE.value == "") {
                alert(" 'Sample sign date' for must fill in the item");
                txtDATE.focus();
                return false;
            }
            if (txtQuantity.value == "") {
                alert("'Receive quantity' for must fill in the item");
                txtQuantity.focus();
                return false;
            }

            // txtFlag.value = 0;
            return confirm('Are you sure you want to submit?');

        }
    </script>
    <script src="../Common/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <style type="text/css">
    TD{ height:28px;}
    </style>
</head>
<body style="font-family: Arial, Helvetica, sans-serif;" >
    <form id="form1" runat="server">
    <font size='-1' color='gray'>Current position:Logistics>>To do list</font>
    <div>
    <table width="700" >
    <tr><td style="width:25%; font-weight:bold; color:#2E8AC5;">PPAR No.</td><td>
        <asp:Label ID="LblPPARNo" runat="server" Text="Label"></asp:Label>
        </td><td style="font-weight:bold; color:#2E8AC5;">Supplier Name</td><td>
        <asp:Label ID="lblSupplierName" runat="server" Text="Label"></asp:Label>
        </td></tr>
    <tr style="border:1px; border-style:solid; border-color:Gray;"><td style="width:25%; font-weight:bold; color:#2E8AC5;">BDNT Part No.</td><td style="width:25%;">
        <asp:Label ID="lblPartNo" runat="server" Text="Label"></asp:Label>
        </td><td style="width:25%; font-weight:bold; color:#2E8AC5;">BDNT Part Name</td><td style="width:25%;">
        <asp:Label ID="lblPartName" runat="server" Text="Label"></asp:Label>
        </td></tr>
    <tr><td style="width:25%; font-weight:bold; color:#2E8AC5;">BDNT Revision No.</td><td>
        <asp:Label ID="lblRevisionNo" runat="server" Text="Label"></asp:Label>
        </td><td style="width:25%; font-weight:bold; color:#2E8AC5;"></td><td>
        <asp:Label ID="lblRevisionStatus" Visible="false" runat="server" Text="Label"></asp:Label>
        </td></tr>
         <tr>
                        <td style="font-weight: bold; color: #2E8AC5;">
                            Color
                        </td>
                        <td>
                            <asp:Label ID="lblColor" runat="server" Text="Label"></asp:Label>
                        </td>
                        <td style="font-weight: bold; color: #2E8AC5;">
                            PPAR create date
                        </td>
                        <td>
                            <asp:Label ID="lblPPARdate" runat="server" Text="Label"></asp:Label>
                        </td>
                    </tr>
    
        </table>
        <hr style="width:700px; text-align:left;" />
          <table width="700" >
    <tr><td style="width:25%; font-weight:bold; color:#2E8AC5;">delivered parts quantity</td><td>
        <asp:Label ID="lblDeliveredpartsquantity" runat="server" Text="Label"></asp:Label>
        </td><td style="font-weight:bold; color:#2E8AC5;">delivery/courier company</td><td>
        <asp:Label ID="lbDeliveryCompany" runat="server" Text="Label"></asp:Label>
        </td></tr>
    <tr style="border:1px; border-style:solid; border-color:Gray;"><td style="width:25%; font-weight:bold; color:#2E8AC5;">
        delivery note date</td><td style="width:25%;">
        <asp:Label ID="lblDeliverynotedate" runat="server" Text="Label"></asp:Label>
        </td><td style="width:25%; font-weight:bold; color:#2E8AC5;">delivery note number</td><td style="width:25%;">
        <asp:Label ID="lblDeliverynotenumber" runat="server" Text="Label"></asp:Label>
        </td></tr>

        </table>
        <br />
        <table width="700" style="  border-color:#2A48CE;border:1px; border-style:solid; border-color:Gray; border-spacing:0px; ">
        <tr><td colspan="4" bgcolor="#2E8AC5" style="color: #FFFFFF; font-weight: bold">Sign</td></tr>
        <tr><td>Sample sign date</td><td> 
            <cc1:My97 ID="txtDATE" runat="server"></cc1:My97>
            <font color='red'>
            <br />
            *(please input sample sign date)</font>
            </td><td>Receive quantity</td><td>
            <asp:TextBox autocomplete="off"   ID="txtQuantity" runat="server"></asp:TextBox>
            <font color='red'>
            <br />
            *(please input receive quantity)</font>
            </td></tr>
            <tr><td>Remark</td><td colspan="3">
                <asp:TextBox autocomplete="off"   ID="txtRemark" runat="server" Height="100px"  TextMode="MultiLine"  style="word-wrap : break-word;word-break: break-all; overflow:hidden; " 
                    Width="550px"></asp:TextBox>
                </td></tr>
            <tr><td colspan="4" align="right">
                <asp:Button ID="Button1" runat="server" CssClass="button" 
                    onclientclick="return check();" 
                    Text="Submit" onclick="Button1_Click" />
                </td></tr>
        </table>
    </div>
    </form>
</body>
</html>
